﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class user
    {
        //1. 定义一个用户类，存放用户的账号、用户名和密码属性；
        public int userNumber {
            get { return this.userNumber ;}
            set { this.userNumber = value ;}
        }
        public string userName {
            get { return this.userName ;}
            set { this.userName = value ;} 
        }
        public string userPassword {
            get { return this.userPassword ;}
            set { this.userPassword = value ;} 
        }
        public void User()
        {
            Console.WriteLine("输入用户的账号为{0},输入的用户名为{1},输入的密码为{2}",this.userNumber,this.userName,this.userPassword);
        }
    }
}
